openldap.git
10 years agolastbind-makefile
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
lastbind-makefile

Gbp-Pq: Name lastbind-makefile

10 years agoautogroup-makefile
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
autogroup-makefile

Gbp-Pq: Name autogroup-makefile

10 years agocontrib/smbk5pwd: add man page, install it too
Peter Marschall [Sun, 26 Jul 2015 13:04:26 +0000 (15:04 +0200)]
contrib/smbk5pwd: add man page, install it too

Add a manual page slapo-smbk5pwd.5 and update smbk5pwd's Makefile to
install the new manual page.

This patch is derived from the corresponding patch upstreamed in ITS#8205

Gbp-Pq: Name smbk5pwd-makefile-manpage

10 years agosmbk5pwd-makefile
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
smbk5pwd-makefile

Gbp-Pq: Name smbk5pwd-makefile

10 years agocontrib-modules-use-dpkg-buildflags
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
contrib-modules-use-dpkg-buildflags

Gbp-Pq: Name contrib-modules-use-dpkg-buildflags

10 years agodo-not-second-guess-sonames
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
do-not-second-guess-sonames

Rip out code that second-guesses the libsasl soname / Debian shlibs.  If
cyrus sasl upstream is breaking the ABI, this needs to be fixed upstream
there, not kludged around upstream here!

Debian bug #546885

Upstream ITS #6302 filed.

Gbp-Pq: Name do-not-second-guess-sonames

10 years agogetaddrinfo-is-threadsafe
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
getaddrinfo-is-threadsafe

OpenLDAP upstream conservatively assumes that certain resolver functions
(getaddrinfo, getnameinfo, res_query, dn_expand) are not re-entrant; but we
know that the glibc implementations of these functions are thread-safe, so
we should bypass the use of this mutex.  This fixes a locking problem when
an application uses libldap and libnss-ldap is also used for hosts
resolution.

Closes Debian bug #340601.

Not suitable for forwarding upstream; might be made suitable by adding a
configure-time check for glibc and disabling the mutex only on known
thread-safe implementations.

Gbp-Pq: Name getaddrinfo-is-threadsafe

10 years agolibldap-symbol-versions
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
libldap-symbol-versions

Add symbol versioning to the public LDAP libraries.  This is required for
library transitions, such as the current transition from 2.1 to 2.4,
since programs will sometimes have both libraries loaded by different
dependency chains during the transition.

Not yet contributed upstream.

Upstream ITS #5365 filed requesting symbol versioning for libldap and
libber.

Gbp-Pq: Name libldap-symbol-versions

10 years agosasl-default-path
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
sasl-default-path

Add /etc/ldap/sasl2 to the SASL configuration search path.

Not submitted upstream.  Somewhat Debian-specific and probably not of
interest upstream.

Gbp-Pq: Name sasl-default-path

10 years agoindex-files-created-as-root
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
index-files-created-as-root

Document in the man page that slapindex should be run as the same user
as slapd, and print a warning if it's run as root (since Debian defaults
to running slapd as openldap).

Not suitable for upstream in this form.  This patch needs to be reworked
to check the BerkeleyDB database ownership and only warn if running as
root with a database that's not owned by root.

Upstream ITS #5356 filed requesting better handling of this.  Current
upstream discussion leans towards putting the check into the database
backend and aborting if slapd is run as a different user than the database
owner, which is an even better fix.

Gbp-Pq: Name index-files-created-as-root

10 years agowrong-database-location
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
wrong-database-location

Move the default slapd database location to /var/lib/ldap instead of
/var/openldap-data.

Debian-specific.

Gbp-Pq: Name wrong-database-location

10 years agoldapi-socket-place
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
ldapi-socket-place

Move the ldapi socket to /var/run/slapd from /var/run, since /var/run
is only writable by root and slapd runs as openldap.

Debian-specific.

Gbp-Pq: Name ldapi-socket-place

10 years agoslapi-errorlog-file
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
slapi-errorlog-file

The slapi error log file defaults to /var/errors given our setting
of --localstatedir.  Move it to /var/log/slapi-errors instead.

Debian-specific.

Gbp-Pq: Name slapi-errorlog-file

10 years agoevolution-ntlm
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
evolution-ntlm

Patch from evolution-exchange (2.10.3).  The ldap_ntlm_bind function is
actually called by evolution-data-server, checked at version 1.12.2.
Without this patch, the Exchange addressbook integration uses simple binds
with cleartext passwords.

Russ checked with openldap-software for upstream's opinion on this patch
on 2007-12-21.  Upstream had never received it as a patch submission and
given that it's apparently only for older Exchange servers that can't do
SASL and DIGEST-MD5, it's not very appealing.

Bug#457374 filed against evolution-data-server asking if this support is
still required on 2007-12-21.

Gbp-Pq: Name evolution-ntlm

10 years agoman-slapd
Debian OpenLDAP Maintainers [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
man-slapd

Patch the slapd man page to not refer to a header file that isn't
installed with the slapd package and to reference the correct path
for slapd.

Debian-specific.

Gbp-Pq: Name man-slapd

10 years agoopenldap (2.4.42+dfsg-2) unstable; urgency=medium
Ryan Tandy [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
openldap (2.4.42+dfsg-2) unstable; urgency=medium

  [ Ryan Tandy ]
  * Change explicit Pre-Depends: multiarch-support to ${misc:Pre-Depends}, as
    recommended by lintian.
  * Omit slapd, slapd-dbg, and slapd-smbk5pwd from the stage1 build profile.
    This allows the dependency loop with heimdal to be broken for
    bootstrapping, and the dependency on libperl-dev to be avoided for
    cross-building. Thanks Daniel Schepler and Helmut Grohne.
    (Closes: #724518)
  * Apply wrap-and-sort to the Build-Depends field.
  * Drop libncurses5-dev from Build-Depends, no longer needed since the ud
    tool was removed in OpenLDAP 2.1.4.
  * Drop libltdl3-dev as an alternate Build-Depends, since that package was
    removed after lenny.
  * Annotate Build-Depends on perl with :any to allow running the system perl
    interpreter during cross builds.
  * Ensure CC is set correctly for cross builds. Thanks Helmut Grohne.
  * Build-Depend on dpkg-dev (>= 1.17.14) and debhelper (>= 9.20141010) for
    restriction formula support.
  * Override the 'dev-pkg-without-shlib-symlink' lintian tag. The symlink is
    actually in the form libldap_r.so -> libldap_r-2.4.so.xyz and the tag is a
    false positive; see #687022.
  * Include the smbk5pwd man page in the slapd-smbk5pwd package.
  * Allow anonymous read access to the shadowLastChange attribute by default,
    allowing nss-ldap/nss-ldapd to handle password expiry correctly even when
    bound anonymously. This was the only restricted shadow attribute, the
    others were already world-readable. (Closes: #669235)
  * Drop the redundant default ACL for dn.base="" from the database entry.
    It's already covered by the fallback case below.
  * Copy more comments from the slapd.conf template to slapd.init.ldif. Also
    comment the shadowLastChange access rule.
  * Import upstream patch to remove an unnecessary assert(0) that could be
    triggered remotely by an unauthenticated user by sending a malformed BER
    element. (ITS#8240)

  [ Peter Marschall ]
  * Add a manual page slapo-smbk5pwd.5 and update smbk5pwd's Makefile to
    install the new manual page. (Closes: #794998)

[dgit import unpatched openldap 2.4.42+dfsg-2]

10 years agoImport openldap_2.4.42+dfsg-2.debian.tar.xz
Ryan Tandy [Fri, 11 Sep 2015 03:13:17 +0000 (03:13 +0000)]
Import openldap_2.4.42+dfsg-2.debian.tar.xz

[dgit import tarball openldap 2.4.42+dfsg-2 openldap_2.4.42+dfsg-2.debian.tar.xz]

10 years agoImport openldap_2.4.42+dfsg.orig.tar.gz
Ryan Tandy [Fri, 21 Aug 2015 20:07:51 +0000 (20:07 +0000)]
Import openldap_2.4.42+dfsg.orig.tar.gz

[dgit import orig openldap_2.4.42+dfsg.orig.tar.gz]